package com.ruoyi.property.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 物业公司对象 house_property_t
 * 
 * @author ruoyi
 * @date 2023-04-20
 */
public class HousePropertyT extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 用户昵称 */
    @Excel(name = "用户名称")
    private String nickName;
    /** 帐号状态（0正常 1停用） */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private String status;
    /** 角色ID */
    private Long roleId;
    /** 密码 */
    private String password;
    /** 用户账号 */
    @Excel(name = "登录名称")
    private String userName;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /** 物业公司id */
    private Long propertyId;

    /** 物业公司名称 */
    @Excel(name = "物业公司名称")
    private String propertyName;

    /** 负责人电话 */
    @Excel(name = "负责人电话")
    private String propertyTel;

    /** 负责人 */
    @Excel(name = "负责人")
    private String propertyer;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creater;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    public void setPropertyId(Long propertyId) 
    {
        this.propertyId = propertyId;
    }

    public Long getPropertyId() 
    {
        return propertyId;
    }
    public void setPropertyName(String propertyName) 
    {
        this.propertyName = propertyName;
    }

    public String getPropertyName() 
    {
        return propertyName;
    }
    public void setPropertyTel(String propertyTel) 
    {
        this.propertyTel = propertyTel;
    }

    public String getPropertyTel() 
    {
        return propertyTel;
    }
    public void setPropertyer(String propertyer) 
    {
        this.propertyer = propertyer;
    }

    public String getPropertyer() 
    {
        return propertyer;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("propertyId", getPropertyId())
            .append("propertyName", getPropertyName())
            .append("propertyTel", getPropertyTel())
            .append("propertyer", getPropertyer())
            .append("remark", getRemark())
            .append("creater", getCreater())
            .append("createDate", getCreateDate())
            .toString();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
